package cn.com.company.main.client.entity;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.extjs.gxt.ui.client.data.BaseModel;

@Entity()
@Table(name = "webbom_userinfo")
public class WebbomUserinfo extends BaseModel implements java.io.Serializable {

	private static final long serialVersionUID = -890920241279854058L;
	private Integer id;
	private String username;
	private String loginname;
	private String password;
	private Integer userpower;
	private Timestamp regdate;
	private Timestamp lastlogindate;
	private String remark;

	public WebbomUserinfo() {
	}

	@Id
	@Column(name = "id")
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "username")
	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	@Column(name = "loginname")
	public String getLoginname() {
		return this.loginname;
	}

	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}

	@Column(name = "password")
	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Column(name = "userpower")
	public Integer getUserpower() {
		return this.userpower;
	}

	public void setUserpower(Integer userpower) {
		this.userpower = userpower;
	}

	@Column(name = "regdate")
	public Timestamp getRegdate() {
		return this.regdate;
	}

	public void setRegdate(Timestamp regdate) {
		this.regdate = regdate;
	}

	@Column(name = "lastlogindate")
	public Timestamp getLastlogindate() {
		return this.lastlogindate;
	}

	public void setLastlogindate(Timestamp lastlogindate) {
		this.lastlogindate = lastlogindate;
	}

	@Column(name = "remark")
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}